package com.jumei.flume.handler;

import org.apache.flume.Event;

import java.util.List;

public interface Handler {
	
	/**
     * 业务处理
     *
     * @param eventList
	 * @throws Exception 
     */
    public void handler(List<Event> eventList) throws Exception;
    
    public void start();
    public void stop();
    
}
